declare a function in arduino